package cn.tedu.ems.studyvideo.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Upload {
    @ApiModelProperty(value = "文件id")
    Integer id;
    @ApiModelProperty(value = "文件链接")
    String url;
    @ApiModelProperty(value = "存储路径")
    String file;//文件存储路径
    @ApiModelProperty(value = "文件md5值")
    String md5;
    @ApiModelProperty(value = "文件大小")
    Long size;
    @ApiModelProperty(value = "文件名称")
    String fileName;
    @ApiModelProperty(value = "上传时间")
    Date createTime;
    @ApiModelProperty(value = "修改时间")
    Date updateTime;
}
